package com.lianniu.web.tea.pic.controller;

import javax.annotation.Resource;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.lianniu.web.base.BaseResult;
import com.lianniu.web.baseService.dict.controller.DictionaryRestController;
import com.lianniu.web.tea.pic.service.ITeaSideshowPicService;

@Controller
@RequestMapping("/rest/TeaSideshowPicController")
public class TeaSideshowPicController {

	private final static Logger logger = Logger.getLogger(DictionaryRestController.class);

	@Resource
	private ITeaSideshowPicService teaSideshowPicService;

	@RequestMapping(value = "/getTeaSideshowPicList", method = RequestMethod.GET)
	public @ResponseBody BaseResult getTeaSideshowPicList() {
		logger.info("TeaSideshowPicController getTeaSideshowPicList start");
		BaseResult baseResult = teaSideshowPicService.getSideshowPicList();
		logger.info("TeaSideshowPicController getTeaSideshowPicList end");
		return baseResult;
	}
}
